package com.hm.fast.domain;

import com.hm.fast.auto.su.SystemConfig;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.SQLDelete;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author shishun.wang
 * @version 1.0
 * @date 2019/3/17 18:47
 * @describe
 */
@Data
@Entity
@NoArgsConstructor
@Table(name = SystemConfig.DATABASE_PREFIX + "dict")
public class DictDomain extends BaseDomain{

    @Column(length = 30)
    private String dictType;

    @Column(length = 30)
    private String dictCode;

    @Column(length = 30)
    private String dictName;

    @Column(length = 30)
    private String ditValue;

    @Column(length = 60)
    private String dictExt;

    private Integer dictSort;
}
